﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Product_View.aspx.cs" Inherits="Web.Product.Product_View" %>

<%@ Register Src="../ctrl/UserLoginCtrl.ascx" TagName="UserLoginCtrl" TagPrefix="uc1" %>
<%@ Register Src="../ctrl/WeiboCtrl.ascx" TagName="WeiboCtrl" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="/js/shopping.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="body">
        <div class="warp">
            <div class="contleft">
                <asp:PlaceHolder ID="phIsFind" runat="server">
                    <asp:Image ID="imgPhoto" runat="server" />
                    <asp:Literal ID="litTitle" runat="server"></asp:Literal>
                    <asp:Literal ID="litPrice" runat="server"></asp:Literal>
                    <asp:PlaceHolder ID="phIspublish" runat="server">
                        <asp:Button ID="btnBuy" runat="server" Text="立即购买" />
                        <button id="iAddCart" name="iAddCart" type="button" onclick='addcart("<%=QXBook.Utils.CommonUtils.Get("ProductID") %>")'>
                            加入购物车</button>
                        <button id="iAddFav" name="iAddFav" type="button" onclick='addcart("<%=QXBook.Utils.CommonUtils.Get("ProductID") %>")'>
                            加入收藏</button>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder ID="phNoPublish" runat="server">
                        <p>
                            该书籍已经下架
                        </p>
                    </asp:PlaceHolder>
                    <asp:Literal ID="litContent" runat="server"></asp:Literal>
                </asp:PlaceHolder>
                <asp:PlaceHolder ID="phNotFind" runat="server">
                    <p>
                        这条信息已被删除
                    </p>
                </asp:PlaceHolder>
            </div>
            <div class="contright">
                <uc1:userloginctrl id="UserLoginCtrl1" runat="server" />
                <uc2:weiboctrl id="WeiboCtrl1" runat="server" />
            </div>
            <div class="clear">
            </div>
        </div>
    </div>
</asp:Content>
